package com.ssy.lingxi.logistics.api.dto.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 内部feign接口 - 同步物流地址请求参数
 * @author wyx
 * @version 2.0.0
 * @date 2022-02-16
 **/
public class LogisticsAddressSyncQueueVO implements Serializable {
    private static final long serialVersionUID = -4876812559658218330L;

    /**
     * 数据关联门店id
     */
    @NotNull(message = "门店id不能为空")
    private Long storeId;

    /**
     * 门店名称
     */
    @NotEmpty(message = "门店名称不能为空")
    private String storeName;

    /**
     * 门店状态 0-否 1-是
     */
    @NotEmpty(message = "门店状态不能为空")
    private Integer storeStatus;

    /**
     * 数据关联会员id
     */
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    /**
     * 数据关联角色id
     */
    @NotNull(message = "角色id不能为空")
    private Long memberRoleId;

    /**
     * 物流发货地址信息
     */
    private LogisticsDeliverAddress logisticsDeliverAddress;

    /**
     * 物流收货地址信息
     */
    private LogisticsReceiveAddress logisticsReceiveAddress;

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getStoreStatus() {
        return storeStatus;
    }

    public void setStoreStatus(Integer storeStatus) {
        this.storeStatus = storeStatus;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public LogisticsDeliverAddress getLogisticsDeliverAddress() {
        return logisticsDeliverAddress;
    }

    public void setLogisticsDeliverAddress(LogisticsDeliverAddress logisticsDeliverAddress) {
        this.logisticsDeliverAddress = logisticsDeliverAddress;
    }

    public LogisticsReceiveAddress getLogisticsReceiveAddress() {
        return logisticsReceiveAddress;
    }

    public void setLogisticsReceiveAddress(LogisticsReceiveAddress logisticsReceiveAddress) {
        this.logisticsReceiveAddress = logisticsReceiveAddress;
    }
}
